<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="jakarta.tags.core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
    <title>新增学生</title>
  <base href="${ctx}/">
  <title>Title</title>
  <link rel="stylesheet" href="assets/modules/student/css/add.css">
  <link rel="stylesheet" href="assets/lib/layui/css/layui.css">
  <script src="assets/lib/jquery/jquery-3.4.1.js"></script>
  <script src="assets/lib/layui/layui.js"></script>
  <script>
    const ctx = "${ctx}";
  </script>
  <script src="assets/modules/student/js/add.js"></script>
</head>
<body>
<div>
  <form action="" id="student-form">
    <div>
      <label for="cardId">学号:</label>
      <input type="text" id="cardId" name="cardId">
    </div>
    <div>
      <label for="name">姓名:</label>
      <input type="text" id="name" name="name">
    </div>
<%--    日期--%>
    <div>
      <label for="pinyin">拼音:</label>
      <input type="text" id="pinyin" name="pinyin">
    </div>
    <div>
      <label for="">性别:</label>
      <input type="radio" id="male" value="男" name="sex">
      <label for="male">男</label>
      <input type="radio" id="female" value="女" name="sex">
      <label for="female">女</label>
    </div>
    <div>
      <label for="phone">手机号:</label>
      <input type="text" id="phone" name="phone" autocomplete="off" placeholder="请输入手机号">
    </div>
      <div>
          <label for="birthday"></label>
          <input type="text" id="birthday" name="birthday" autocomplete="off"
            placeholder="请输入学生出生日期" readonly
          >
      </div>
    <div>
      <label for="weixin">微信号:</label>
      <input type="text" id="weixin" name="weixin" autocomplete="off" placeholder="请输入微信号">
    </div>
  </form>
</div>
</body>
</html>
